0=wall
1=walkable
2=target